package com.his.registration.mapper;

import com.his.dto.DiseaseCondition;
import com.his.registration.pojo.Disease;
import com.his.registration.pojo.MedicalRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.mapper
 * @Author: ZhangYing
 * @Date: 2023/7/3 11:40
 * @Description:
 */
@Mapper
public interface DiseaseMapper {
    //查看所有疾病信息
    @Select("SELECT * FROM disease")
    public List<Disease> selectAll();

    //模糊搜索疾病信息
    public List<Disease> selectByCondition(DiseaseCondition diseaseCondition);

}
